package com.example.pcbackend.enums;

public enum QrCodeStatusEnum {

    WAITING(10000, "待扫描"),
    SCANNED(20000, "待确认"),
    CONFIRMED(30000, "已确认"),
    INVALID(40000, "二维码无效"),
    CANCEL(50000, "已取消");

    private Integer statusCode;
    private String statusValue;

    QrCodeStatusEnum(Integer statusCode, String statusValue) {
        this.statusCode = statusCode;
        this.statusValue = statusValue;
    }

    public Integer getStatusCode() {
        return statusCode;
    }

    public String getStatusValue() {
        return statusValue;
    }
}

